feat: v2.1.0 - Modern UI, image sources, and unit tests#4
Open
sannysri wants to merge 13 commits into
Open
Conversation
## New Features - Image Source options: Media Library / First Image from Content / External URL - Tags filter for conditional featured images - Post Status filter (publish, draft, pending, etc.) - Display Options section with column width settings - Bulk processing with progress indicator ## Code Quality - PHPUnit test suite with Brain Monkey (35 tests passing) - Code coverage: 15.47% (161/1041 lines) - PHPCS WordPress coding standards compliant - PHPStan static analysis configured - CI workflow for PHP 7.4-8.3 ## UI Improvements - Compact card-based layout with light purple accent (#9b7bc0) - Responsive design with proper overflow handling - Enhanced admin settings page
- ESLint: const instead of var, allow wpafi_vars camelcase - Stylelint: ignore Select2 class patterns (3rd party) - PHPStan: level 5, ignore WP type coercion patterns - PHPCS: 0 errors, 2 warnings (meta_query - required) - Fix is_post_meeting_criteria return type
- Implement batched bulk processing (50 posts/batch) to handle thousands of posts without timeout - Add ajax_bulk_count endpoint for accurate progress tracking - Fix CSS: card borders, help tab spacing, pro teaser alignment - Add unit tests: VideoThumbnailTest, RuleMatchingTest, SideloadTest - Update .gitignore to exclude E2E tests and internal docs
- Fix Yoda condition in admin-settings.php line 75 - Move $stateInput assignment after early return in JS - Update PHP to accept 'ruleIdx' POST key matching JS changes - Auto-fix array alignment in class-wpafi-pro-registry.php - Auto-fix equals sign alignment in class-wpafi-admin.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New Features
Code Quality
UI Improvements